package com.beone.admin.entity;


import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.base.common.BaseModel;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * @Title 排班模板 实体类
 * @Author 秦波
 * @Version 1.0 on 2019-06-01
 * @Copyright 贝旺科权
 */
@TableName("t_task_template")
public class TaskTemplate extends BaseModel {

    private static final long serialVersionUID = 1L;

	@TableId(value="ID", type= IdType.AUTO)
	private Integer id;
    /**
     * 标题
     */
	@TableField("TITLE")
	private String title;
    /**
     * 开始日期
     */
	@TableField("BEGIN_DATE")
	private Date beginDate;
    /**
     * 结束日期
     */
	@TableField("END_DATE")
	private Date endDate;
    /**
     * 部门id
     */
	@TableField("DEPT_ID")
	private Integer deptId;
    /**
     * 部门名称
     */
	@TableField("DEPT_NAME")
	private String deptName;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getDeptId() {
		return deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	@Override
	public String toString() {
		return "TaskTemplate{" +
			", id=" + id +
			", title=" + title +
			", beginDate=" + beginDate +
			", endDate=" + endDate +
			", deptId=" + deptId +
			", deptName=" + deptName +
			"}";
	}
}
